<?php defined( '_VALID_MOS' ) or die( include_once("../../404.php") );
	$sql= "SELECT `news`.`News_Id`, `news`.`Title`, `news`.`alias`
			FROM `news`
			WHERE `news`.`status`= 1 AND CatID = 1
			ORDER BY `news`.`Order` DESC
			limit 5";
	$cmd = $mysqli->prepare($sql);
	$cmd->execute() or die($mysqli->error);
	$cmd->bind_result($News_Id, $Title, $alias);
	$cmd->store_result();
?>
<div id="h_line_bar">
	<div class="tt_right"><div class="tt_left"><div class="tt">
	<table cellpadding="0" cellspacing="0" width="100%">
		<tr>
			<td style="width:20%" align="center"><div id="time"> <?php echo date("d/m/Y"); ?></div></td>
			<td style="width:80%">
				<ul>
					<marquee behavior="scroll" scrollamount="3" scrolldelay="40" onMouseOver="this.stop();" onMouseOut="this.start();" direction="left">
						<?php while($cmd->fetch()){
						echo "<li>&nbsp;<a class=\"ct\" href=\"./com_content/article/$alias/8.csp\">$Title</a></li>";
						}?>		
					</marquee>
				</ul>
			</td>
		</tr>
	</table>
	</div></div></div>
</div>